package com.whj.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whj.domain.dto.UserDTO;
import com.whj.domain.entity.User;
import com.whj.domain.response.ResponseResult;
import com.whj.domain.vo.RoleVo;

import java.util.List;


/**
 * 用户表(User)表服务接口
 *
 * @author wanghaijun
 * @since 2023-05-23 14:37:24
 */

public interface UserService extends IService<User> {

    ResponseResult userinfo();

    ResponseResult updateUserInfo(User user);

    ResponseResult register(User user);

    ResponseResult listRole(Integer pageNum, Integer pageSize, String phonenumber, String username, String status);

    ResponseResult addUser(UserDTO userDTO);

    ResponseResult deleteUser(List<String> id);

    ResponseResult selectUser(Long id);

    ResponseResult changeStatus(RoleVo roleVo);
}
